#pragma once

class DataImage : public Image
{
private:
	IplImage* _data;
public:
	DataImage();
	DataImage(unsigned x, unsigned y);
	DataImage(const std::string& fileName);
	virtual Color GetColor(double x, double y);
	virtual void SetColor(unsigned counter, const Color& color);
	virtual unsigned Width();
	virtual unsigned Height();
	virtual unsigned WidthStep();
	void DrawOnScreen();
	virtual ~DataImage();
};
